package com.us.usws.model.domain.ipodium;

import java.util.Date;

import com.us.usws.model.flat.system.DOUser;

public class IpodiumUser extends DOUser {

	private static final long serialVersionUID = 1L;

	private Date lastLoginDate;

	public IpodiumUser() {
	}

	public IpodiumUser(DOUser u) {
		setAvatar(u.getAvatar());
		setDeptUid(u.getDeptUid());
		setEmailAddr(u.getEmailAddr());
		setFullName(u.getFullName());
		setGenderType(u.getGenderType());
		setIsSiteAdmin(u.getIsSiteAdmin());
		setIsValid(u.getIsValid());
		setLoginName(u.getLoginName());
		setPasswd(u.getPasswd());
		setRole(u.getRole());
		setUid(u.getUid());
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

}
